package org.ljy.lotterysystem.service;

import org.ljy.lotterysystem.controller.param.UserLoginParam;
import org.ljy.lotterysystem.controller.param.UserRegisterParam;
import org.ljy.lotterysystem.service.dto.UserDTO;
import org.ljy.lotterysystem.service.dto.UserLoginDTO;
import org.ljy.lotterysystem.service.dto.UserRegisterDTO;
import org.ljy.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;


public interface IUserService {


    UserRegisterDTO register(UserRegisterParam param);


    UserLoginDTO login(UserLoginParam param);


    /**
     * 根据人员身份返回人员列表
     * @param identity
     * @return
     */
    List<UserDTO> findUserInfo(UserIdentityEnum identity);

}
